home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d21
/
dvglue.arc
/
TVOHANDL.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-01-09
|
1KB
|
44 lines
/*================================================*/
/* TVOHANDL.C */
/* OBJECTQ handle query functions */
/* */
/* (c) Copyright 1988 Ralf Brown */
/* All Rights Reserved */
/* May be freely copied for noncommercial use, */
/* provided that this copyright notice remains */
/* intact and any changes are indicated in the */
/* comment blocks preceding functions */
/*================================================*/
#include "tvapi.h"
/*================================================*/
/* TVmyobq get handle for task's def OBJECTQ */
/* Ralf Brown 4/3/88 */
/*================================================*/
OBJECT pascal TVmyobq(void)
{
PARMLIST1 p ;
p.num_args = 0 ;
TVsendmsg(OBJECT_MSG,OBJQME,0,(PARMLIST *)&p) ;
return (OBJECT) p.arg[0] ;
}
/*================================================*/
/* TVobqof get given task's objectq handle */
/* Ralf Brown 4/10/88 */
/*================================================*/
OBJECT pascal TVobqof(OBJECT task)
{
PARMLIST1 p ;
p.num_args = 0 ;
TVsendmsg(OBJECT_MSG, task?OBJQTOS:OBJQME, task, (PARMLIST *)&p) ;
return (OBJECT) p.arg[0] ;
}
/* End of TVOHANDL.C */